<template>
   <sosuo></sosuo>

   <van-grid :column-num="4">
  <van-grid-item v-for="time in zwx" :icon="time.image_src" :text="time.name" />
    <van-grid-item v-for="time in zwx" :icon="time.image_src" :text="time.name" />
</van-grid>
</template>

<script setup>
import sosuo from '@/components/sosuo.vue';
import {catitemsApi}from '@/api/api'
    import { ref } from 'vue';
    let zwx=ref([])
    catitemsApi().then((res)=>{
        console.log(res);
        zwx.value=res.data.message
        
    })
</script>

<style lang="scss" scoped>

</style>